package com.tamecode.event;

import javafx.application.Application;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Service;

/**
 * @Author: Liqc
 * @Date: 2022/1/21 16:06
 */
@Getter
@Setter
public class SpringEvent extends ApplicationEvent {

    private String message;

    public SpringEvent(Object source, String message) {
        super(source);
        this.message = message;
    }
}
